package chessboardpkg;

import java.awt.Point;

public class BoardEventArgs {
	private BoardEventType mEventType;
	private boolean mAllowAction;
	private Point mPoint;
	private Point[] mAllowSqaures;
	
	public BoardEventArgs(BoardEventType pEventType, Point pPoint)
	{
		this.mEventType = pEventType;
		this.mPoint = pPoint;
		this.mAllowAction = true;
		this.mAllowSqaures = null;
	}

	public boolean getmAllowAction() {
		return mAllowAction;
	}

	public void setmAllowAction(boolean mAllowAction) {
		this.mAllowAction = mAllowAction;
	}

	public Point[] getmAllowSqaures() {
		return mAllowSqaures;
	}

	public void setmAllowSqaures(Point[] mAllowSqaures) {
		this.mAllowSqaures = mAllowSqaures;
	}

	public BoardEventType getmEventType() {
		return mEventType;
	}

	public Point getmPoint() {
		return mPoint;
	}
	
	
}
